Custom pastebin exception handler