Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
indexers
metadata-and-data
Commits
3d1c34ae
Commit
3d1c34ae
authored
Feb 07, 2022
by
Damien DESPRES
Browse files
gestion des erreurs sur election des types
parent
37e453cf
Pipeline
#21374
passed with stage
in 23 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
workers/metadata_processor.py
View file @
3d1c34ae
...
...
@@ -321,7 +321,8 @@ def callback( channel, method, properties, body ):
else
:
logging
.
warning
(
"No information about the needed fields and types found (%s) in the field catalog: generating a new catalog..."
,
lookup_key
)
field_type_detector
(
cfg
)
channel
.
basic_nack
(
delivery_tag
=
method
.
delivery_tag
,
requeue
=
1
)
logging
.
error
(
"ERREUR ELECTION DES TYPES POUR:%s"
,
out_record
[
'metadata-fr'
][
'geonet:info'
][
'uuid'
])
channel
.
basic_nack
(
delivery_tag
=
method
.
delivery_tag
,
requeue
=
0
)
return
# ---------------------------------------------------------------------------------------------------------------------
...
...
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