Adds filename to plugin error payload