Add more informative error message for the PANIC.