mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-22 18:02:19 -05: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);
|
|
}
|