File "/home/runner/work/prefect/prefect/src/prefect/server/api/server.py", line 253, in custom_internal_exception_handler
logger.error("Encountered exception in request:", exc_info=True)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/logging/__init__.py", line 1475, in error
self._log(ERROR, msg, args, **kwargs)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/logging/__init__.py", line 1589, in _log
self.handle(record)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/logging/__init__.py", line 1599, in handle
self.callHandlers(record)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/logging/__init__.py", line 1661, in callHandlers
hdlr.handle(record)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/logging/__init__.py", line 952, in handle
self.emit(record)
File "/home/runner/work/prefect/prefect/src/prefect/logging/handlers.py", line 284, in emit
self.handleError(record)
Message: 'Encountered exception in request:'
Arguments: ()
--- Error logging to API ---
Server error '500 Internal Server Error' for url 'http://ephemeral-prefect/api/logs/'
Response: {'exception_message': 'Internal Server Error'}
### Versions
Current test suite.
### Additional context
_No response_
First check
Bug summary
Inconsequential update to prefect-dbt docstring leads to prefect-dbt tests which fail with and internal server error. All other tests pass.
Checks: https://github.com/PrefectHQ/prefect/actions/runs/9650208517/job/26616443415?pr=14292
Reproduction
Error