Skip to content
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

use exceptions for job cancel and failure #13

Merged
merged 2 commits into from
Sep 8, 2017
Merged

use exceptions for job cancel and failure #13

merged 2 commits into from
Sep 8, 2017

Conversation

AlanCoding
Copy link
Member

@AlanCoding AlanCoding commented Aug 30, 2017

I didn't like that we were providing a full traceback with job canceling and errors. It's not our error, and the line numbers provide no value anyway.

awx_1        | 2017-08-30 16:32:43,820 WARNING  awx.main.tasks job 13879 (canceled) was canceled (rc=0)

Signed-off-by: Alan Rominger arominge@redhat.com

@matburt matburt merged commit c6ae6b8 into ansible:devel Sep 8, 2017
mabashian pushed a commit to mabashian/awx that referenced this pull request Jun 28, 2019
elyezer pushed a commit to elyezer/awx that referenced this pull request Oct 13, 2020
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Nov 11, 2020
@halfbaked halfbaked mentioned this pull request Jun 3, 2022
6 tasks
kdelee pushed a commit that referenced this pull request Mar 8, 2023
check label permission and fix lint (#13)

* set created by and launch type correctly

This makes "launched_by" get computed right in the tests.

Mysteriously this seemed to work from API browser, but
this seems more correct to have it work this way, and makes
tests actually work.

For "manual" launch types the attribute used to populate "launched_by"
is "created_by". And we already have "is_bulk_job" to indicate that the
job is a bulk job. So lets just use this.

* check label is in an organization you can read
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants