File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
runtime/spring/src/main/java/com/flit/runtime/spring Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1515# The quiet flag is required otherwise the tooling will dump output to stdout which will break the
1616# plugin output and generation will fail.
1717# -----------------------------------------------------------------------------
18- DIR=$( dirname " $0 " )
18+ DIR=$( dirname $( readlink -f " $0 " ) )
1919
2020JAR=$( ls -c ${DIR} /plugin-* -all.jar | head -1)
2121java ${FLIT_JAVA_OPTS} -jar $JAR $@
Original file line number Diff line number Diff line change 33import com .flit .runtime .ErrorCode ;
44import com .flit .runtime .FlitException ;
55import com .google .protobuf .InvalidProtocolBufferException ;
6- import java .util .HashMap ;
7- import java .util .Map ;
8- import javax .servlet .http .HttpServletRequest ;
96import org .slf4j .Logger ;
107import org .slf4j .LoggerFactory ;
118import org .springframework .http .MediaType ;
1512import org .springframework .web .bind .annotation .ExceptionHandler ;
1613import org .springframework .web .servlet .mvc .method .annotation .ResponseEntityExceptionHandler ;
1714
15+ import javax .servlet .http .HttpServletRequest ;
16+ import java .util .HashMap ;
17+ import java .util .Map ;
18+
1819@ ControllerAdvice
1920@ Component
2021public class FlitExceptionHandler extends ResponseEntityExceptionHandler {
2122
22- private static final Logger LOGGER = LoggerFactory .getLogger (FlitExceptionHandler .class );
23+ private static final Logger LOGGER = LoggerFactory .getLogger (FlitExceptionHandler .class );
2324
2425
2526 @ ExceptionHandler (Exception .class )
You can’t perform that action at this time.
0 commit comments