mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Log-and-swallow post-kickoff in DeleteEppResource
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130787799
This commit is contained in:
parent
0e4ce70610
commit
61bd6159c9
1 changed files with 15 additions and 10 deletions
|
@ -104,6 +104,7 @@ public abstract class DeleteEppResourceAction<T extends EppResource> implements
|
||||||
mapper.setTargetResource(resourceKey);
|
mapper.setTargetResource(resourceKey);
|
||||||
reducer.setClient(requestingClientId, isSuperuser);
|
reducer.setClient(requestingClientId, isSuperuser);
|
||||||
logger.infofmt("Executing Delete EPP resource mapreduce for %s", resourceKey);
|
logger.infofmt("Executing Delete EPP resource mapreduce for %s", resourceKey);
|
||||||
|
try {
|
||||||
response.sendJavaScriptRedirect(createJobPath(mrRunner
|
response.sendJavaScriptRedirect(createJobPath(mrRunner
|
||||||
.setJobName("Check for EPP resource references and then delete")
|
.setJobName("Check for EPP resource references and then delete")
|
||||||
.setModuleName("backend")
|
.setModuleName("backend")
|
||||||
|
@ -114,6 +115,10 @@ public abstract class DeleteEppResourceAction<T extends EppResource> implements
|
||||||
// Add an extra shard that maps over a null domain. See the mapper code for why.
|
// Add an extra shard that maps over a null domain. See the mapper code for why.
|
||||||
new NullInput<DomainBase>(),
|
new NullInput<DomainBase>(),
|
||||||
EppResourceInputs.createEntityInput(DomainBase.class)))));
|
EppResourceInputs.createEntityInput(DomainBase.class)))));
|
||||||
|
} catch (Throwable t) {
|
||||||
|
logger.severefmt(
|
||||||
|
t, "Error while kicking off DeleteEppResource MR for %s", resource.getForeignKey());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue