Fix potential NPE
Add some extra debugging
Bump
Always log detailed errors in applog