Make it not crash on Debug/logging build configuration