CSP error and warning captured using listener on source code