Skip to content

Fix AttributeError on OOM - #100

Open
simonhammes wants to merge 1 commit into
mainfrom
fix-AttributeError-on-oom
Open

simonhammes wants to merge 1 commit into
mainfrom
fix-AttributeError-on-oom

Conversation

@simonhammes

Copy link
Copy Markdown
Collaborator

This fixes the following error in case a container uses more memory than allowed:

[ERROR] [worker_4] root runner.py:486 worker 'str' object has no attribute 'error'
Traceback (most recent call last):
  File "/opt/seatable-python-starter/runner.py", line 484, in worker
    run_python(data)
  File "/opt/seatable-python-starter/runner.py", line 437, in run_python
    output.error("Out of memory!!!")
    ^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'error'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant