More verbose errors
Fix format string
Add prometheus metrics