aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/export.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/export.rb')
-rw-r--r--app/models/export.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/export.rb b/app/models/export.rb
index f1f62e86f..22475af0b 100644
--- a/app/models/export.rb
+++ b/app/models/export.rb
@@ -24,7 +24,7 @@ class Export
response = Ievkit.get(report_path)
ExportReport.new(response)
else
- raise Ievkit::Error("Impossible to access report path link for export")
+ nil
end
end
@@ -37,7 +37,7 @@ class Export
elsif cancel_path
Ievkit.delete(cancel_path)
else
- raise Ievkit::Error("Impossible to access delete or cancel path link for import")
+ nil
end
end