Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nicolas Frandeboeuf
kresus
Commits
5e247612
Commit
5e247612
authored
Mar 06, 2017
by
Jan
Committed by
Benjamin Bouvier
Jun 03, 2017
Browse files
Improve logging of Weboob account errors somewhat.
parent
5b053984
Pipeline
#16432
passed with stage
in 2 minutes and 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
server/models/account.js
View file @
5e247612
...
...
@@ -36,7 +36,7 @@ let Account = americano.getModel('bankaccount', {
// Label describing the account provided by the source.
title
:
String
,
// IBAN provided by the source (
facultative
).
// IBAN provided by the source (
optional
).
iban
:
String
,
// Currency used by the account.
...
...
server/weboob/main.py
View file @
5e247612
...
...
@@ -154,6 +154,7 @@ class Connector(object):
op
[
"date"
]
=
line
.
date
else
:
# Wow, this should never happen.
print
>>
sys
.
stderr
,
"No known date property in transaction line: %s"
%
unicode
(
op
[
"raw"
])
op
[
"date"
]
=
datetime
.
now
()
op
[
"date"
]
=
op
[
"date"
].
strftime
(
DATETIME_FORMAT
)
...
...
@@ -166,7 +167,7 @@ class Connector(object):
results
.
append
(
op
)
except
NotImplementedError
:
print
>>
sys
.
stderr
,
"The account type has not been implemented by weboob
."
print
>>
sys
.
stderr
,
"The account type has not been implemented by weboob
: %s"
%
account
.
id
return
results
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment