Commit fd5f5221 authored by Leo Gordon's avatar Leo Gordon
Browse files

Do not crash when asked to param_substitute a Regexp, but issue a warning

parent d6b29f94
......@@ -243,7 +243,8 @@ sub param_substitute {
}
return \%substituted_hash;
} else {
die "Could not substitute parameters in $structure";
warn "Could not substitute parameters in '$structure' - unsupported data type '$ref_type'\n";
return $structure;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment