set debug logs & cause for exception swallwoing