truncate task_line_contents so it does not explode on the db interaction

This commit is contained in:
burnettk 2023-04-23 23:59:09 -04:00
parent b6e8a8f3ec
commit efd3d1e766
1 changed files with 1 additions and 1 deletions

View File

@ -634,7 +634,7 @@ class TaskService:
isinstance(exception, ApiError) and exception.error_code == "task_error"
):
task_line_number = exception.line_number
task_line_contents = exception.error_line
task_line_contents = exception.error_line[0:255]
task_trace = exception.task_trace
task_offset = exception.offset