diff options
author | Patrick Spek <p.spek@tyil.nl> | 2017-04-26 09:03:35 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-07-25 02:16:17 +0200 |
commit | 8b407c8ffd6a9785967eff33bc802e855438a2e1 (patch) | |
tree | 63d22202e80671d4931931f1853832177ccd075f /lib | |
parent | 9ba1d672dded96a493f3ce9dcb46554d7821b6ff (diff) |
Fix thrown exception
Diffstat (limited to 'lib')
-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; |