update bugtrap to use the new php server
This commit is contained in:
@@ -350,6 +350,7 @@ static void SetupExceptionHandler()
|
|||||||
{
|
{
|
||||||
// Setup exception handler
|
// Setup exception handler
|
||||||
BT_SetAppName(_T("PanoPainter"));
|
BT_SetAppName(_T("PanoPainter"));
|
||||||
|
BT_SetAppVersion(g_version_w);
|
||||||
//BT_SetSupportEMail(_T("your@email.com"));
|
//BT_SetSupportEMail(_T("your@email.com"));
|
||||||
BT_SetFlags(BTF_DETAILEDMODE | BTF_ATTACHREPORT | BTF_SCREENCAPTURE);
|
BT_SetFlags(BTF_DETAILEDMODE | BTF_ATTACHREPORT | BTF_SCREENCAPTURE);
|
||||||
|
|
||||||
@@ -362,6 +363,7 @@ static void SetupExceptionHandler()
|
|||||||
// = BugTrapWebServer ========================================
|
// = BugTrapWebServer ========================================
|
||||||
//BT_SetSupportServer(_T("http://localhost/BugTrapWebServer/RequestHandler.aspx"), BUGTRAP_HTTP_PORT);
|
//BT_SetSupportServer(_T("http://localhost/BugTrapWebServer/RequestHandler.aspx"), BUGTRAP_HTTP_PORT);
|
||||||
//BT_SetSupportServer(_T("http://omigamedev.ddns.net:8088/source/Server/BugTrapWebServer/RequestHandler.aspx"), BUGTRAP_HTTP_PORT);
|
//BT_SetSupportServer(_T("http://omigamedev.ddns.net:8088/source/Server/BugTrapWebServer/RequestHandler.aspx"), BUGTRAP_HTTP_PORT);
|
||||||
|
BT_SetSupportServer(_T("http://panopainter.com/bug/"), BUGTRAP_HTTP_PORT);
|
||||||
|
|
||||||
// required for VS 2005 & 2008
|
// required for VS 2005 & 2008
|
||||||
BT_InstallSehFilter();
|
BT_InstallSehFilter();
|
||||||
@@ -373,8 +375,10 @@ static void SetupExceptionHandler()
|
|||||||
// BT_SetLogEchoMode(g_iLogHandle, BTLE_STDERR | BTLE_DBGOUT);
|
// BT_SetLogEchoMode(g_iLogHandle, BTLE_STDERR | BTLE_DBGOUT);
|
||||||
//
|
//
|
||||||
// PCTSTR pszLogFileName = BT_GetLogFileName(g_iLogHandle);
|
// PCTSTR pszLogFileName = BT_GetLogFileName(g_iLogHandle);
|
||||||
TCHAR wpath[1024];
|
TCHAR wpath[MAX_PATH];
|
||||||
GetFullPathNameW(L"panopainter-log.txt", 1024, wpath, nullptr);
|
//GetFullPathNameW(L"panopainter-log.txt", 1024, wpath, nullptr);
|
||||||
|
auto log_file = App::I.data_path + "/panopainter-log.txt";
|
||||||
|
std::mbstowcs(wpath, log_file.c_str(), log_file.size());
|
||||||
BT_AddLogFile(wpath);
|
BT_AddLogFile(wpath);
|
||||||
|
|
||||||
BT_SetPreErrHandler([](INT_PTR){
|
BT_SetPreErrHandler([](INT_PTR){
|
||||||
|
|||||||
Reference in New Issue
Block a user