diff options
author | Patrick Spek <p.spek@tyil.nl> | 2017-04-26 09:03:35 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2017-04-26 09:03:35 +0200 |
commit | 2fa145223277129586ae290edbd5362d6904507d (patch) | |
tree | 63d22202e80671d4931931f1853832177ccd075f | |
parent | 3f4b16f712aa4b5c610319c79b7e1d7d04140503 (diff) |
Fix thrown exception
-rw-r--r-- | lib/Config.pm6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Config.pm6 b/lib/Config.pm6 index 22cd2a3..40bfa27 100644 --- a/lib/Config.pm6 +++ b/lib/Config.pm6 @@ -63,7 +63,7 @@ class Config is export my $type = self.get-parser-type($path); Config::Exception::UnknownTypeException.new( - type => $type + file => $path ).throw() if $type eq Config::Type::unknown; "Config::Parser::" ~ $type; |