[fix] Optional stack traces now work as expected