1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00

Make error in ast_util more informative. (#2252)

This commit is contained in:
andy finch 2019-04-30 15:15:03 -04:00 committed by Ryan Dahl
parent bbeb30fc5e
commit c36b5dd01c

View file

@ -449,7 +449,7 @@ export function namespaceSourceFile(
}
} catch (e) {
throw createDeclarationError(
"Unsupported import clause.",
`Unsupported import clause: ${e}`,
declaration
);
}