comparison Framework/Oracle/WebAssemblyOracle.cpp @ 996:727f2007ca23

commenting out annoying error
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 19 Sep 2019 18:26:11 +0200
parents 9893fa8cd7a6
children 008dbc4ceb62 5e45322c7724
comparison
equal deleted inserted replaced
995:9893fa8cd7a6 996:727f2007ca23
358 const size_t kEmscriptenStatusTextSize = sizeof(emscripten_fetch_t::statusText); 358 const size_t kEmscriptenStatusTextSize = sizeof(emscripten_fetch_t::statusText);
359 char message[kEmscriptenStatusTextSize + 1]; 359 char message[kEmscriptenStatusTextSize + 1];
360 memcpy(message, fetch->statusText, kEmscriptenStatusTextSize); 360 memcpy(message, fetch->statusText, kEmscriptenStatusTextSize);
361 message[kEmscriptenStatusTextSize] = 0; 361 message[kEmscriptenStatusTextSize] = 0;
362 362
363 LOG(ERROR) << "Fetching " << fetch->url 363 /*LOG(ERROR) << "Fetching " << fetch->url
364 << " failed, HTTP failure status code: " << fetch->status 364 << " failed, HTTP failure status code: " << fetch->status
365 << " | statusText = " << message 365 << " | statusText = " << message
366 << " | numBytes = " << fetch->numBytes 366 << " | numBytes = " << fetch->numBytes
367 << " | totalBytes = " << fetch->totalBytes 367 << " | totalBytes = " << fetch->totalBytes
368 << " | readyState = " << fetch->readyState; 368 << " | readyState = " << fetch->readyState;*/
369 } 369 }
370 370
371 { 371 {
372 OracleCommandExceptionMessage message 372 OracleCommandExceptionMessage message
373 (context->GetCommand(), Orthanc::OrthancException(Orthanc::ErrorCode_NetworkProtocol)); 373 (context->GetCommand(), Orthanc::OrthancException(Orthanc::ErrorCode_NetworkProtocol));