fix(get): fix a closure issue in error reporting