Fix: Correctly log an exception when no stack trace is provided