Change DALI_LOG_WARNING to DALI_LOG_ERROR in DownloadFile() 40/171140/2
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 27 Feb 2018 02:19:03 +0000 (11:19 +0900)
committerjoogab yun <joogab.yun@samsung.com>
Tue, 27 Feb 2018 02:24:07 +0000 (02:24 +0000)
Change-Id: Ib8be9acc22db78e206dc566b136af7346745607f

platform-abstractions/tizen/resource-loader/network/file-download.cpp

index b276678..a6ff52c 100755 (executable)
@@ -174,7 +174,7 @@ bool DownloadFile( CURL* curlHandle,
 
   if( result != CURLE_OK)
   {
-    DALI_LOG_WARNING( "Failed to download http header for \"%s\" with error code %d\n", url.c_str(), result );
+    DALI_LOG_ERROR( "Failed to download http header for \"%s\" with error code %d\n", url.c_str(), result );
     return false;
   }
 
@@ -184,7 +184,7 @@ bool DownloadFile( CURL* curlHandle,
 
   if( size >= maximumAllowedSizeBytes )
   {
-    DALI_LOG_WARNING( "File content length %f > max allowed %zu \"%s\" \n", size, maximumAllowedSizeBytes, url.c_str() );
+    DALI_LOG_ERROR( "File content length %f > max allowed %zu \"%s\" \n", size, maximumAllowedSizeBytes, url.c_str() );
     return false;
   }
   else if( size > 0 )
@@ -200,7 +200,7 @@ bool DownloadFile( CURL* curlHandle,
 
   if( result != CURLE_OK )
   {
-    DALI_LOG_WARNING( "Failed to download image file \"%s\" with error code %d\n", url.c_str(), result );
+    DALI_LOG_ERROR( "Failed to download image file \"%s\" with error code %d\n", url.c_str(), result );
     return false;
   }
   return true;