improve sdk error logging

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-07-17 22:52:14 +02:00
parent f3ab307e87
commit 1728a75b19
3 changed files with 9 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ const cleanDomain = (domain: string) =>
.replace(/https?:\/\//, '')
.replace(/\/$/, '');
class SdkAuthError extends Error {
export class SdkAuthError extends Error {
payload: {
clientId?: string;
clientSecret?: string;