Throw exception on minification error