Skip to content

[FIX] - log details on error #3321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 85 commits into from
Nov 27, 2024
Merged
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
03e7aa8
data typing issues and clean up
Jsyro Nov 6, 2024
962f5e9
better logging
Jsyro Nov 7, 2024
1af241d
better logging of errors
Jsyro Nov 7, 2024
66e22c4
list of tuples
Jsyro Nov 7, 2024
4537f18
add celery decorator
Jsyro Nov 7, 2024
fb883b5
rename var to match envvar
Jsyro Nov 7, 2024
6f49d48
Merge branch 'develop' into feature/issue-to-orgbook-w-publisher
Jsyro Nov 7, 2024
687e03e
credential per mine_party_appt produces duplicates.
Jsyro Nov 7, 2024
6cd313b
Merge branch 'develop' into feature/issue-to-orgbook-w-publisher
Jsyro Nov 7, 2024
be179c2
wrong class
Jsyro Nov 7, 2024
2652d0f
don't invoke if being used by celery
Jsyro Nov 7, 2024
7ccd3c0
query must excluded deleted permit_amendments
Jsyro Nov 7, 2024
6ce7067
add check if cred not created
Jsyro Nov 8, 2024
a6e44a3
improve logging of problem states
Jsyro Nov 8, 2024
a95574b
Merge branch 'develop' into feature/issue-to-orgbook-w-publisher
Jsyro Nov 8, 2024
4ae3465
make date a date, formatting
Jsyro Nov 8, 2024
9e89270
revered received date, update issue_Date validator
Jsyro Nov 8, 2024
6758491
all datetimes, never dates
Jsyro Nov 8, 2024
f68c378
typo
Jsyro Nov 8, 2024
5f23ae3
names are important
Jsyro Nov 8, 2024
6f05801
only use datetime objects, no date objects
Jsyro Nov 8, 2024
410ddcc
better typing
Jsyro Nov 8, 2024
28b35f7
ensure second is non-zero for datetime
Jsyro Nov 8, 2024
27fff76
oops
Jsyro Nov 8, 2024
2a4a118
brackets matter
Jsyro Nov 8, 2024
9bd7762
what is happening?
Jsyro Nov 8, 2024
7b901f2
scoping
Jsyro Nov 8, 2024
8546322
factories making dates, should be datetimes.
Jsyro Nov 8, 2024
46aeab5
idk why that today generator suck
Jsyro Nov 8, 2024
c7e04f0
pass callable
Jsyro Nov 8, 2024
2332d50
what
Jsyro Nov 8, 2024
d32a875
Merge branch 'develop' into feature/issue-to-orgbook-w-publisher
Jsyro Nov 8, 2024
ec05069
use jank
Jsyro Nov 8, 2024
ce25b82
use work
Jsyro Nov 8, 2024
14ab519
huh?
Jsyro Nov 8, 2024
a1d0b46
typing dates as dates. some db columns are dates, others aren'
Jsyro Nov 8, 2024
7af67e9
dates
Jsyro Nov 8, 2024
114a987
handling incoming datetime for date column
Jsyro Nov 8, 2024
39042c2
probably failing on date comparison
Jsyro Nov 9, 2024
ffed5f6
type hinting is good
Jsyro Nov 9, 2024
6f117b0
clean up logging
Jsyro Nov 12, 2024
8f34192
columns are dates
Jsyro Nov 12, 2024
0093b9c
received date is parsed to datetime
Jsyro Nov 12, 2024
1202685
expand on type hinting
Jsyro Nov 12, 2024
d963492
pass function, not value
Jsyro Nov 12, 2024
8b332e6
Merge branch 'develop' into feature/issue-to-orgbook-w-publisher
Jsyro Nov 12, 2024
e482e66
do not produce id until after hashing
Jsyro Nov 14, 2024
179f65c
Merge branch 'develop' into feature/issue-to-orgbook-w-publisher
Jsyro Nov 14, 2024
9f2e333
didn't save and commit this file. oops
Jsyro Nov 14, 2024
10886e1
type checking would have caught this.
Jsyro Nov 15, 2024
73ddff5
enable basic type checking in vscode.
Jsyro Nov 15, 2024
23b5c12
operator change
Jsyro Nov 15, 2024
08351e1
typing model values
Jsyro Nov 15, 2024
62882dc
Merge branch 'develop' into feature/issue-to-orgbook-w-publisher
Jsyro Nov 15, 2024
1301a37
use a 'forward reference'
Jsyro Nov 18, 2024
cea5568
current app logger pipe to the celery manager.
Jsyro Nov 20, 2024
cb345cb
use authorization end date if set
Jsyro Nov 20, 2024
f7d15f2
remove valid until date, manage with 'refresh' status.
Jsyro Nov 20, 2024
3638832
remove enumerate
Jsyro Nov 20, 2024
534d63d
Merge branch 'develop' into feature/issue-to-orgbook-w-publisher
Jsyro Nov 20, 2024
3b0cd6d
remove old coments
Jsyro Nov 20, 2024
d112eb5
update query.
Jsyro Nov 20, 2024
280f6b0
new endpoint shape on orgbook publisher
Jsyro Nov 21, 2024
fcf8515
new env var, new service file, oauth and endpoints
Jsyro Nov 21, 2024
aa28eba
failed count is wrong, referencing uninitialized value
Jsyro Nov 21, 2024
6fda3c2
must include end dates that are null or 9999
Jsyro Nov 22, 2024
a48bb28
Merge branch 'develop' into feature/issue-to-orgbook-w-publisher
Jsyro Nov 22, 2024
ce15fcf
Merge branch 'develop' into feature/issue-to-orgbook-w-publisher
Jsyro Nov 22, 2024
23c6441
logging
Jsyro Nov 22, 2024
4f04a93
permittee_appointments are in reverse chronological order
Jsyro Nov 25, 2024
2fc2bf8
Merge branch 'develop' into feature/issue-to-orgbook-w-publisher
Jsyro Nov 25, 2024
dc7dc2f
only instantiate service once.
Jsyro Nov 25, 2024
0751e31
log level
Jsyro Nov 25, 2024
1309216
Merge branch 'develop' into feature/issue-to-orgbook-w-publisher
Jsyro Nov 26, 2024
83c9ea7
change default log level and allow for env var to override
Jsyro Nov 26, 2024
a92c572
exclude logging any health path
Jsyro Nov 26, 2024
6799956
comparisons are important
Jsyro Nov 26, 2024
9acf438
comment
Jsyro Nov 26, 2024
f9383fd
remove duplicates
Jsyro Nov 26, 2024
be4f845
Merge branch 'develop' into feature/issue-to-orgbook-w-publisher
Jsyro Nov 26, 2024
53caa21
add job to delete unsuccessful records
Jsyro Nov 26, 2024
df3f5d3
update logging levels
Jsyro Nov 26, 2024
ad5291f
set validuntil date to next_pa.issue_date
Jsyro Nov 26, 2024
435b312
if error, print payload
Jsyro Nov 27, 2024
30436d7
Merge branch 'develop' into feature/issue-to-orgbook-w-publisher
Jsyro Nov 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ def push_untp_map_data_to_publisher():
current_app.logger.warning(
f"failed to publish unsigned_payload_id={publish_record.unsigned_payload_hash} error={publish_record.error_msg}"
)
current_app.logger.warning(f"..failed payload={publish_payload}")
failed_credentials.append(
(publish_record.unsigned_payload_hash, publish_record.error_msg))

Expand Down
Loading