We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8db20a5 commit 48d8e7bCopy full SHA for 48d8e7b
lsp-test/src/Language/LSP/Test/Decoding.hs
@@ -82,7 +82,7 @@ decodeFromServerMsg reqMap bytes = unP $ parse p obj
82
Just m -> Just $ (m, Pair m (Const newMap))
83
unP (Success (FromServerMess m msg)) = (reqMap, FromServerMess m msg)
84
unP (Success (FromServerRsp (Pair m (Const newMap)) msg)) = (newMap, FromServerRsp m msg)
85
- unP (Error e) = error e
+ unP (Error e) = error $ "Error decoding " <> show obj <> " :" <> e
86
{-
87
WorkspaceWorkspaceFolders -> error "ReqWorkspaceFolders not supported yet"
88
WorkspaceConfiguration -> error "ReqWorkspaceConfiguration not supported yet"
0 commit comments