We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35ac3f9 commit b0fe6a4Copy full SHA for b0fe6a4
src/loader.ts
@@ -93,7 +93,11 @@ export async function getUserFunction(
93
try {
94
const functionModulePath = getFunctionModulePath(codeLocation);
95
if (functionModulePath === null) {
96
- console.error('Provided code is not a loadable module.');
+ console.error(
97
+ `Provided code location '${codeLocation}' is not a loadable module.` +
98
+ '\nDid you specify the correct location for the module defining ' +
99
+ 'your function?'
100
+ );
101
return null;
102
}
103
0 commit comments