taskforcesh / issues

Taskforce.sh issues
6 stars 0 forks source link

When a job has a Timeout error I can no longer see the logs #86

Closed Jivings closed 2 years ago

Jivings commented 2 years ago

If a job fails because of a timeout, the errors section replaces the logs section so I cannot see the reason the logs of the job to find out why it took so long.

image
manast commented 2 years ago

Are you sure the job did produce lobs? I just checked some failed jobs and they all display their logs. Maybe your job died before it managed to output any log?

Jivings commented 2 years ago

Yes, you're right. It looks like some of my failed jobs are not logging. Though that is strange because they should at least log that they started, so it looks like these jobs never started...

manast commented 2 years ago

The call to "await job.log()" is the first thing done in the processor?

Jivings commented 2 years ago

Sorry, this was caused by me not reporting the error properly and the job not finishing and instead timing out. Thanks for your help, will close 👍