Skip to content

Commit 005a6b0

Browse files
Merge pull request #16 from brennantaylor/fix-error-message
Improve error message
2 parents cd74e2b + 827afc5 commit 005a6b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/configuration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default class Configuration {
3333
case 'in_memory':
3434
return new InMemoryDispatcher();
3535
default:
36-
throw new Error(`dispatcher of type ${dispatcher} is not unknown`);
36+
throw new Error(`dispatcher of type ${dispatcher.type} is unknown in dispatcher config: ${JSON.stringify(dispatcher)}`);
3737
}
3838
}
3939
return new NoopDispatcher();

0 commit comments

Comments
 (0)