Title: [123509] trunk/Source/WebKit2
Revision
123509
Author
[email protected]
Date
2012-07-24 12:45:17 -0700 (Tue, 24 Jul 2012)

Log Message

[EFL][WK2] Provide more useful output when an injected bundle cannot be loaded
https://bugs.webkit.org/show_bug.cgi?id=92136

Patch by Christophe Dumez <[email protected]> on 2012-07-24
Reviewed by Kenneth Rohde Christiansen.

Call eina_error_get() in case an injected bundle cannot be
loaded in order to print more information about the error.

* WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp:
(WebKit::InjectedBundle::load):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (123508 => 123509)


--- trunk/Source/WebKit2/ChangeLog	2012-07-24 19:40:53 UTC (rev 123508)
+++ trunk/Source/WebKit2/ChangeLog	2012-07-24 19:45:17 UTC (rev 123509)
@@ -1,3 +1,16 @@
+2012-07-24  Christophe Dumez  <[email protected]>
+
+        [EFL][WK2] Provide more useful output when an injected bundle cannot be loaded
+        https://bugs.webkit.org/show_bug.cgi?id=92136
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Call eina_error_get() in case an injected bundle cannot be
+        loaded in order to print more information about the error.
+
+        * WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp:
+        (WebKit::InjectedBundle::load):
+
 2012-07-24  Sudarsana Nagineni  <[email protected]>
 
         [EFL][WK2] Add vibration client

Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp (123508 => 123509)


--- trunk/Source/WebKit2/WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp	2012-07-24 19:40:53 UTC (rev 123508)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp	2012-07-24 19:45:17 UTC (rev 123509)
@@ -42,7 +42,7 @@
         return false;
     }
     if (!eina_module_load(m_platformBundle)) {
-        EINA_LOG_CRIT("Error loading the injected bundle: %s", m_path.utf8().data());
+        EINA_LOG_CRIT("Error loading the injected bundle from %s: %s", m_path.utf8().data(), eina_error_msg_get(eina_error_get()));
         eina_module_free(m_platformBundle);
         m_platformBundle = 0;
         return false;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to