It's probably easier to diagnose a bad notification message if the contents are printed. But still, do anything only if debugging is on.