[Bug 1839376] Review Request: rust-log-panics - Panic hook which logs panic messages rather than printing them

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1839376

Robert-André Mauchin <zebob.m@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |zebob.m@xxxxxxxxx
           Assignee|nobody@xxxxxxxxxxxxxxxxx    |zebob.m@xxxxxxxxx
              Flags|                            |fedora-review?



--- Comment #2 from Robert-André Mauchin <zebob.m@xxxxxxxxx> ---
Try to backport:
https://github.com/sfackler/rust-log-panics/commit/4dcf408a6ff2e458abbb62702ecab088c38596c6

===============================================================================
diff -up log-panics-2.0.0/examples/panic.rs.orig
log-panics-2.0.0/examples/panic.rs
--- log-panics-2.0.0/examples/panic.rs.orig     2017-08-05 07:32:20.000000000
+0200
+++ log-panics-2.0.0/examples/panic.rs  2020-06-25 21:09:26.785895461 +0200
@@ -2,7 +2,7 @@ extern crate log_panics;
 extern crate env_logger;

 fn main() {
-    env_logger::init().unwrap();
+    env_logger::init();
     log_panics::init();

     foo();

===============================================================================

  And bump env_logger to 0.7



 - License ok
 - Latest version packaged
 - Builds in mock
 - No rpmlint errors
 - Conforms to Packaging Guidelines


Please add this patch and address Igor's comments.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux