Skip to content

Commit

Permalink
Update helpers/all.js
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Nov 21, 2023
1 parent 8d2bebc commit edf0e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export function includeFile(pathFile) {
*/
export function stringifySpec(asyncapi) {
const stringifiedDoc = stringify(asyncapi);
if(stringifiedDoc === undefined) throw new Error("Unable to stringify parsed AsyncAPI document given by the generator, this should never happen... Please raise an issue for the html-template.")
if(stringifiedDoc === undefined) throw new Error("Unable to stringify parsed AsyncAPI document passed by the generator. Please report an issue in https://github.com/asyncapi/html-template repository.")
return stringifiedDoc
}

Expand Down

0 comments on commit edf0e34

Please sign in to comment.