mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
7 lines
135 B
TypeScript
7 lines
135 B
TypeScript
export function reportClientSideError(
|
|
e: Error,
|
|
message = 'Unhandled error'
|
|
): void {
|
|
console.error(`Client: ${message}`, e);
|
|
}
|