Skip to content

Commit 68dbc66

Browse files
committed
Use SilentError
1 parent 040956f commit 68dbc66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ module.exports = {
143143
var filePattern = this.readConfig('filePattern');
144144

145145
if(!sentrySettings.release) {
146-
throw new Error('revisionKey setting is not available, either provide it manually or make sure the ember-cli-deploy-revision-data plugin is loaded');
146+
throw new SilentError('revisionKey setting is not available, either provide it manually or make sure the ember-cli-deploy-revision-data plugin is loaded');
147147
}
148148
return this._deleteRelease(sentrySettings).then(function() {}, function() {}).then(function() {
149149
return plugin._createRelease(sentrySettings).then(function(response) {
@@ -161,7 +161,7 @@ module.exports = {
161161
});
162162
}, function(err){
163163
console.error(err);
164-
throw new Error('Creating release failed');
164+
throw new SilentError('Creating release failed');
165165
});
166166
});
167167
},

0 commit comments

Comments
 (0)