[webapi] Improve exception message for zap security

- Use "error" instead of exception message
Merge pull request #296 from haoxli/haoxli/webapi/zap-security-3

[webapi] Improve exception message for zap security