[chronojump] In case of chronojump-importer error: it shows the	arguments passed to the Python script.
- From: Carles Pina i Estany <carlespina src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [chronojump] In case of chronojump-importer error: it shows the	arguments passed to the Python script.
- Date: Sun, 16 Oct 2016 15:55:30 +0000 (UTC)
commit edcde807154dd81c83956ee4a1e89f5899d5882e
Author: Carles Pina i Estany <carles pina cat>
Date:   Sun Oct 16 17:54:42 2016 +0200
    In case of chronojump-importer error: it shows the arguments passed to the Python script.
    
    This helps debugging an existing issue and might help in the future for
    other possible issues.
 src/chronojumpImporter.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/chronojumpImporter.cs b/src/chronojumpImporter.cs
index 687c307..2e318f9 100644
--- a/src/chronojumpImporter.cs
+++ b/src/chronojumpImporter.cs
@@ -184,6 +184,7 @@ class ChronojumpImporter
                                // The Python script has been executed and failed (syntax error, crashed).
                                // The error message will be in the output:
                                errorMessage = execute_result.allOutput;
+                               errorMessage += "\nArguments: " + String.Join (" ", parameters);
                        } else {
                                // The Python script has not been executed, return the error message from 
ExecuteProcess
                                errorMessage = execute_result.errorMessage;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]