We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc89cb2 + ce3d1a1 commit 20f123dCopy full SHA for 20f123d
index.js
@@ -238,6 +238,14 @@ function Runner(appJsConfig, cb) {
238
})
239
.catch(function(err) {
240
console.error('Error in callback! Tossing to global error handler.', err.stack);
241
+
242
+ if (err.validationErrors) {
243
+ console.error('Details: ');
244
+ for (var i= 0; i<err.validationErrors.length; i++) {
245
+ console.error("\t#" + i + ".: " + err.validationErrors[i].message + " in swagger config at: >" + err.validationErrors[i].path.join('/') + "<");
246
+ }
247
248
249
process.nextTick(function() { throw err; });
250
251
}
0 commit comments