mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-20 01:50:04 +00:00
fix bug in error message
This commit is contained in:
parent
43abe95579
commit
a119a954d3
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ module MPW
|
||||||
file_tmp.close(true)
|
file_tmp.close(true)
|
||||||
return true
|
return true
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
@error_msg = "#{I18n.t('error.sync')} #{e}"
|
@error_msg = "#{I18n.t('error.sync.download')} #{e}"
|
||||||
file_tmp.close(true)
|
file_tmp.close(true)
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
@ -125,7 +125,7 @@ module MPW
|
||||||
|
|
||||||
return true
|
return true
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
@error_msg = "#{I18n.t('error.sync')} #{e}"
|
@error_msg = "#{I18n.t('error.sync.unknown')} #{e}"
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue