Debuggin Custom Query UDF

Hello,

Are there specific C++ compilation logs that can be accessed when installing custom query UDFs via the ExprFunctions.hpp and ExprUtil.hpp files? The most specific error info I’ve found has been in the gsql log.ERROR file:

E@20220324 17:38:20.082 tigergraph|127.0.0.1:48704|00000000485 (Util.java:1959) Parsing user defined expression functions encountered errors. Please check the file /home/tigergraph/tigergraph/tmp/gsql/codegen/QueryUdf/ExprFunctions.hpp!

I ran into this while trying to install this random function from the documentation tutorial on custom UDFs:

inline double rng() {
std::random_device rd;
std::mt19937 gen(rd());
std::uniform_real_distribution < double > distribution(0.0, 1.0);

return distribution(gen);
}

Any help or pointers to resources would be greatly appreciated. Thanks!