(event)
| 146 | // Subscribe to server log events |
| 147 | |
| 148 | const method = (event) => { |
| 149 | |
| 150 | const data = event.error ?? event.data; |
| 151 | console.error('Debug:', event.tags.join(', '), data ? '\n ' + (data.stack ?? (typeof data === 'object' ? Hoek.stringify(data) : data)) : ''); |
| 152 | }; |
| 153 | |
| 154 | if (debug.log) { |
| 155 | const filter = debug.log.some((tag) => tag === '*') ? undefined : debug.log; |
no outgoing calls
no test coverage detected