Remove panic from log message