Skip to content

Commit

Permalink
Merge ee7436a into 52bd12d
Browse files Browse the repository at this point in the history
  • Loading branch information
cjiang2000 committed Jun 4, 2021
2 parents 52bd12d + ee7436a commit acf6878
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/answers-umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import ErrorReporter from './core/errors/errorreporter';
import ConsoleErrorReporter from './core/errors/consoleerrorreporter';
import { AnalyticsReporter, NoopAnalyticsReporter } from './core';
import Storage from './core/storage/storage';
import { AnswersComponentError } from './core/errors/errors';
import AnalyticsEvent from './core/analytics/analyticsevent';
import StorageKeys from './core/storage/storagekeys';
import QueryTriggers from './core/models/querytriggers';
Expand Down Expand Up @@ -433,7 +432,7 @@ class Answers {
try {
this.components.create(type, opts).mount();
} catch (e) {
throw new AnswersComponentError('Failed to add component', type, e);
console.error('Failed to add component', type, e);
}
return this;
}
Expand Down

0 comments on commit acf6878

Please sign in to comment.