Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
opensipkd-iso8583
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6d57d653
authored
Apr 22, 2020
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Tampilkan pesan kesalahan di log saat iso.process()
1 parent
9e7ee674
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
CHANGES.txt
opensipkd/iso8583/network/job.py
CHANGES.txt
View file @
6d57d65
0.1.4 2020-04-21
----------------
- Tangkap pesan kesalahan saat iso.process() agar tampil di log
0.1.3 2020-01-16
----------------
- Tambah set_request()
...
...
opensipkd/iso8583/network/job.py
View file @
6d57d65
import
traceback
from
io
import
StringIO
from
time
import
time
from
.
import
Doc
...
...
@@ -43,7 +45,12 @@ class Job:
if
from_iso
.
is_sign_on_request
():
self
.
sign_on_time
=
time
()
iso
=
self
.
create_iso
(
from_iso
=
from_iso
)
iso
.
process
()
try
:
iso
.
process
()
except
:
with
StringIO
()
as
f
:
traceback
.
print_exc
(
file
=
f
)
iso
.
ack_other
(
f
.
getvalue
())
return
iso
# Dipanggil forwarder.py
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment