Title: [225786] trunk/Source/WebInspectorUI
Revision
225786
Author
[email protected]
Date
2017-12-12 10:02:17 -0800 (Tue, 12 Dec 2017)

Log Message

Unreviewed, don't print empty error message when copying resource fails

Unsurprisingly, when system() fails, there is not any useful error to be printed, so don't.

* Scripts/copy-user-interface-resources.pl:
(ditto):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (225785 => 225786)


--- trunk/Source/WebInspectorUI/ChangeLog	2017-12-12 17:26:34 UTC (rev 225785)
+++ trunk/Source/WebInspectorUI/ChangeLog	2017-12-12 18:02:17 UTC (rev 225786)
@@ -1,3 +1,12 @@
+2017-12-12  Michael Catanzaro  <[email protected]>
+
+        Unreviewed, don't print empty error message when copying resource fails
+
+        Unsurprisingly, when system() fails, there is not any useful error to be printed, so don't.
+
+        * Scripts/copy-user-interface-resources.pl:
+        (ditto):
+
 2017-12-08  Joseph Pecoraro  <[email protected]>
 
         ServiceWorker Inspector: Various issues inspecting service worker on mobile.twitter.com

Modified: trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl (225785 => 225786)


--- trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl	2017-12-12 17:26:34 UTC (rev 225785)
+++ trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl	2017-12-12 18:02:17 UTC (rev 225786)
@@ -51,7 +51,7 @@
         opendir(my $dh, $source) or die "Can't open $source: $!";
         while (readdir $dh) {
             if ($_ ne '..' and $_ ne '.') {
-                system('cp', '-R', "${source}/$_", $destination) or die "Failed to copy ${source}/$_ to $destination: $!";
+                system('cp', '-R', "${source}/$_", $destination) or die "Failed to copy ${source}/$_ to $destination";
             }
         }
         closedir $dh;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to