diff options
Diffstat (limited to 'src/resp.cpp')
-rw-r--r-- | src/resp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resp.cpp b/src/resp.cpp index 7167227..d62e0aa 100644 --- a/src/resp.cpp +++ b/src/resp.cpp @@ -170,7 +170,7 @@ main(int argc, char** argv) pprint(os, ast, cenv, false); is.ignore(std::numeric_limits<std::streamsize>::max(), '\n'); // Skip newlines } - } catch (Error e) { + } catch (RespError e) { cerr << e.what() << endl; } is.close(); |