From 2fa145223277129586ae290edbd5362d6904507d Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Wed, 26 Apr 2017 09:03:35 +0200 Subject: Fix thrown exception --- lib/Config.pm6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; -- cgit v1.1