Permalink
Browse files

Fix JSON parsing error message

  • Loading branch information...
tpope committed Feb 23, 2013
1 parent 42175a0 commit 61aeac27af36e5c9b1891ac23e26ad47530021a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/rhubarb.vim
View
@@ -70,7 +70,7 @@ function! rhubarb#json_parse(string) abort
catch
endtry
endif
- call s:throw("invalid JSON: ".stripped)
+ call s:throw("invalid JSON: ".a:string)
endfunction
function! rhubarb#json_generate(object) abort

0 comments on commit 61aeac2

Please sign in to comment.