mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-17 08:30: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)
|
||||
return true
|
||||
rescue Exception => e
|
||||
@error_msg = "#{I18n.t('error.sync')} #{e}"
|
||||
@error_msg = "#{I18n.t('error.sync.download')} #{e}"
|
||||
file_tmp.close(true)
|
||||
return false
|
||||
end
|
||||
|
@ -125,7 +125,7 @@ module MPW
|
|||
|
||||
return true
|
||||
rescue Exception => e
|
||||
@error_msg = "#{I18n.t('error.sync')} #{e}"
|
||||
@error_msg = "#{I18n.t('error.sync.unknown')} #{e}"
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue