Skip to content

Commit 92a43eb

Browse files
sourceTrail & return type error
1 parent 6d689a8 commit 92a43eb

File tree

4 files changed

+39
-1
lines changed

4 files changed

+39
-1
lines changed

flypen.srctrlbm

9 KB
Binary file not shown.

flypen.srctrldb

858 KB
Binary file not shown.

flypen.srctrlprj

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<config>
3+
<source_groups>
4+
<source_group_08561fd2-b846-45c5-b6ad-b159a0c71fe0>
5+
<cpp_standard>gnu++17</cpp_standard>
6+
<cross_compilation>
7+
<target>
8+
<abi>unknown</abi>
9+
<arch>x86_64</arch>
10+
<sys>unknown</sys>
11+
<vendor>unknown</vendor>
12+
</target>
13+
<target_options_enabled>0</target_options_enabled>
14+
</cross_compilation>
15+
<exclude_filters>
16+
<exclude_filter>mysql-connector</exclude_filter>
17+
<exclude_filter>jwt-cpp</exclude_filter>
18+
<exclude_filter>drogon</exclude_filter>
19+
</exclude_filters>
20+
<name>C++ Source Group</name>
21+
<pch_flags>
22+
<use_compiler_flags>1</use_compiler_flags>
23+
</pch_flags>
24+
<source_extensions>
25+
<source_extension>.cpp</source_extension>
26+
<source_extension>.cxx</source_extension>
27+
<source_extension>.cc</source_extension>
28+
</source_extensions>
29+
<source_paths>
30+
<source_path>./</source_path>
31+
<source_path>mysql-connector/include</source_path>
32+
</source_paths>
33+
<status>enabled</status>
34+
<type>C++ Source Group</type>
35+
</source_group_08561fd2-b846-45c5-b6ad-b159a0c71fe0>
36+
</source_groups>
37+
<version>8</version>
38+
</config>

jwt_controller.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ std::string jwtDecrypt(const std::string &token)
3535
catch (const std::exception &e)
3636
{
3737
// std::cout << "Failed to decrypt JWT: " + std::string(e.what()) << std::endl;
38-
// throw std::runtime_error("Failed to decrypt JWT");
38+
throw std::runtime_error("Failed to decrypt JWT");
3939
}
4040
}
4141

0 commit comments

Comments
 (0)