BUG: Substitute directive in %s in the error output. Fixed #1.