File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -151,15 +151,23 @@ class SchemaHandler {
151151 ( err ) => {
152152 this . __checkForHTTPErrorsAndThrow ( err , model ) ;
153153
154- this . __checkForMissingPathAndThrow ( err , model ) ;
154+ this . __checkForMissingPathAndThrow ( err ) ;
155155
156156 return schema ;
157157 }
158158 ) ;
159159
160+ this . logger . verbose (
161+ `dereferenced model: ${ JSON . stringify ( dereferencedSchema ) } `
162+ ) ;
163+
160164 this . logger . verbose ( `converting model: ${ name } ` ) ;
161165 const convertedSchemas = SchemaConvertor . convert ( dereferencedSchema , name ) ;
162166
167+ this . logger . verbose (
168+ `converted schemas: ${ JSON . stringify ( convertedSchemas ) } `
169+ ) ;
170+
163171 return convertedSchemas ;
164172 }
165173
@@ -244,7 +252,7 @@ class SchemaHandler {
244252 }
245253 }
246254
247- __checkForMissingPathAndThrow ( error , model ) {
255+ __checkForMissingPathAndThrow ( error ) {
248256 if ( error . message === "Expected a file path, URL, or object. Got undefined" )
249257 throw error ;
250258 }
You can’t perform that action at this time.
0 commit comments