mirror of
https://github.com/sasjs/adapter.git
synced 2025-12-11 09:24:35 +00:00
fix(debug): only set session manager debug if it is defined
This commit is contained in:
@@ -52,7 +52,9 @@ export class SASViyaApiClient {
|
||||
|
||||
public set debug(value: boolean) {
|
||||
this._debug = value
|
||||
this.sessionManager.debug = value
|
||||
if (this.sessionManager) {
|
||||
this.sessionManager.debug = value
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user