Fixed an issue with directive arguments

The error catch would have done bad things.