(exception)
| 27 | } |
| 28 | |
| 29 | function reportError(exception) { |
| 30 | // Instantiates a client |
| 31 | const errors = new ErrorReporting(); |
| 32 | |
| 33 | // Reports an exception |
| 34 | errors.report(exception.stack); |
| 35 | } |
| 36 | // [END error_reporting_quickstart] |
| 37 | |
| 38 | quickstart(); |