# Logs 'Job exception: unexpected return' error

**URL:** <https://meta.discourse.org/t/logs-job-exception-unexpected-return-error/299963>\
**Category:** Bug\
**Tags:** chat\
**Created:** [March 19, 2024, 10:12am UTC](https://meta.discourse.org/t/logs-job-exception-unexpected-return-error/299963 "2024-03-19T10:12:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [March 20, 2024, 9:49am UTC](https://meta.discourse.org/t/logs-job-exception-unexpected-return-error/299963/3 "2024-03-20T09:49:46Z")

</div>

Good catch @Don thanks. Will be fixed in [FIX: do not use return in block by jjaffeux · Pull Request #26260 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/26260)

---

_[View the full topic](https://meta.discourse.org/t/logs-job-exception-unexpected-return-error/299963)._
