From 52cc8a418307ae7a551d23e6bd2d367b544e7bf9 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 7 Jan 2022 17:12:42 +0000 Subject: Refactor CoreException and ModuleException. --- src/modules/extra/m_argon2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra/m_argon2.cpp') diff --git a/src/modules/extra/m_argon2.cpp b/src/modules/extra/m_argon2.cpp index 2a5341cd8..80289286e 100644 --- a/src/modules/extra/m_argon2.cpp +++ b/src/modules/extra/m_argon2.cpp @@ -144,7 +144,7 @@ class HashArgon2 final config.version); if (argonResult != ARGON2_OK) - throw ModuleException("Argon2 hashing failed!: " + std::string(argon2_error_message(argonResult))); + throw ModuleException(creator, "Argon2 hashing failed: " + std::string(argon2_error_message(argonResult))); // This isn't the raw version, but we don't have // the facilities to juggle around the extra state required -- cgit v1.3.1-10-gc9f91