Skip to content

Commit 96101bc

Browse files
committed
Get notified of configuration changes when storage changes
1 parent f154b6c commit 96101bc

8 files changed

+8
-4
lines changed

dist/exceptionless.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/exceptionless.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/exceptionless.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/exceptionless.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/exceptionless.node.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/exceptionless.node.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/exceptionless.node.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ defaults.submissionAdapter = new NodeSubmissionAdapter();
2323
Configuration.prototype.useLocalStorage = function() {
2424
this.storage = new NodeFileStorageProvider();
2525
SettingsManager.applySavedServerSettings(this);
26+
this.changed();
2627
};
2728

2829
function getListenerCount(emitter, event: string): number {

src/exceptionless.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Configuration.prototype.useLocalStorage = function() {
5252
if (BrowserStorage.isAvailable()) {
5353
this.storage = new BrowserStorageProvider();
5454
SettingsManager.applySavedServerSettings(this);
55+
this.changed();
5556
}
5657
};
5758

0 commit comments

Comments
 (0)