diff options
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; |