Skip to content

Commit 827afc5

Browse files
committed
Improve error message
1 parent cd74e2b commit 827afc5

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)